Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move sync queue assertions to preset loader #6960

Merged
merged 1 commit into from
Feb 25, 2025
Merged

Conversation

etan-status
Copy link
Contributor

We already check in presets.nim:

  • MAX_BLOBS_PER_BLOCK_ELECTRAMAX_BLOBS_PER_BLOCK
  • Config values match preset constant values until constants phased out

The ≤ 9 check can be moved over, then sync queue no longer depends on the deprecated preset constant values and it remains a one-time check.

We already check in `presets.nim`:

- `MAX_BLOBS_PER_BLOCK_ELECTRA` ≥ `MAX_BLOBS_PER_BLOCK`
- Config values match preset constant values until constants phased out

The ≤ 9 check can be moved over, then sync queue no longer depends on
the deprecated preset constant values and it remains a one-time check.
Copy link

Unit Test Results

       15 files  ±0    2 614 suites  ±0   1h 18m 8s ⏱️ + 2m 46s
  6 412 tests ±0    5 891 ✔️ ±0  521 💤 ±0  0 ±0 
44 616 runs  ±0  43 898 ✔️ ±0  718 💤 ±0  0 ±0 

Results for commit 0513773. ± Comparison against base commit 0a676da.

@tersec tersec merged commit bbf6484 into unstable Feb 25, 2025
12 checks passed
@tersec tersec deleted the dev/etan/ef-syncasserts branch February 25, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants